-
Home
-
Leat
-
2.4.9
-
Code
-
Classes
- ReferralShortcode
| Total Complexity |
31 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
230 |
| Lines of code |
137 |
| Logical lines of code |
56 |
| Comment lines |
58 |
| Methods |
9 |
| Properties |
2 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| enqueue_inline_scripts() |
A |
46 |
7 |
40 |
| enqueue_referral_assets() |
S |
49 |
6 |
31 |
| shortcode_output() |
S |
53 |
5 |
23 |
| get_user_referral_stats() |
S |
60 |
4 |
13 |
| maybe_enqueue_assets() |
S |
65 |
3 |
10 |
| get_user_referral_code() |
S |
68 |
3 |
7 |
| __construct() |
S |
81 |
1 |
3 |
| init_hooks() |
S |
79 |
1 |
3 |
| get_shortcode_type_attributes() |
S |
69 |
1 |
7 |